<!DOCTYPE html>
<html lang="en">
<head>
    <title>代办工作</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="../../../../static/lib/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../../static/lib/layuiadmin/style/admin.css" media="all">
    <script type="text/javascript" src="../../../common/common.js"></script>
    <script src="../../../../static/lib/layuiadmin/layui/layui.js"></script>
    <script src="../../../common/jquery-3.3.1.min.js"></script>
    <script src="../../../common/dataGrid.js"></script>
    <script type="text/javascript" src="todoWork.js"></script>
    <style>
        body {
            margin: 0;
            padding: 0;
            border: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        html, body , body .dw .layui-card {
            height: 100%;
        }

    </style>
</head>
<body>
<div class="layui-fluid" id="LAY-component-grid-mobile" style="height: 100%">
    <div class="layui-row layui-col-space10" style="height: 100%">
        <div class="layui-col-xs12" style="height: 100%">
            <div class="layui-card" style="height: 100%">
                <div class="layui-card-body" style="height: 100%">
                    <div id="gridList" url="/wf/task/myWfTask" showHeader="true" style="margin-top: 10px; margin-bottom: 10px;"
                         sizeList="[10,20,50,100]" pageSize="10" height="750">
                        <div property="columns" style="display: none;">
                            <div type="indexcolumn" width="40" headerAlign="center">No.</div>
                            <!---请手动修改各个列宽度，建议都设数字；让一个或两个设定按照百分比设置，百分比之和等于100%；操作列如果只有修改和删除时一般不用修改---->
                            <div field='userId' width='14%' headerAlign='center' allowSort='true' renderer="formatUserId">申请人</div>
                            <div field='wfTitle' width='14%' headerAlign='center' allowSort='true' renderer="formatTitle">标题</div>
                            <div field='moduleId' width='14%' headerAlign='center' allowSort='true' renderer="formatModuleId">模块</div>
                            <div field='activityId' width='14%' headerAlign='center' allowSort='true' renderer="formatActivityId">当前环节</div>
                            <div field='startTime' width='14%' headerAlign='center' allowSort='true'
                                 dateFormat="yyyy-MM-dd HH:mm:ss">申请时间
                            </div>
                            <div field='createTime' width='14%' headerAlign='center' allowSort='true'
                                 dateFormat="yyyy-MM-dd HH:mm:ss">代办开始时间
                            </div>
                            <div field="id" width="16%" headerAlign="center" allowSort="false"
                                 cellStyle="text-align:center;" renderer="formatOper">操作
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="wfCommon.js"></script>
</body>
</html>
